const http = uni.$u.http

// 获取分类列表
export const getFairyList = (data) => http.get("fairy/all", data)

// 获取分类下文章列表
export const getFairyDetailList = (data) => http.post("fairy/detail/list", data)

// 获取文章明细
export const getFairyDetail = (data) => http.post("fairy/detail", data)

// 登录
export const wxLogin = (data) => http.post("fairy/wxLogin", data)